space to underscore python

32

mystring.replace(" ", "_")

Comments

Submit
0 Comments